package com.example.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.model.common.dtos.ResponseResult;
import com.example.model.wemedia.dtos.WmNewsDto;
import com.example.model.wemedia.dtos.WmNewsPageReqDto;
import com.example.model.wemedia.pojos.WmNews;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;

@Service
public interface WmNewsService extends IService<WmNews> {

    public ResponseResult findNewsList(WmNewsPageReqDto dto, String userId);

    public ResponseResult deleteOneMyArticle(String id,String userId);

    public ResponseResult submit(WmNewsDto wmNewsDto,String userId);

    public ResponseResult getChannels();

    public ResponseResult downOrUp(WmNewsDto wmNewsDto);
}
